@import "styles/common.scss";

.customCard {
    :global {
        .ant-card {
            background: none;
        }

        .ant-card {
            height: inherit;
            display: flex;
            flex-direction: column;
        }

        .ant-card-head {
            min-height: 32px;
            position: relative;
            display: flex;
            flex-direction: row;
            align-items: center;
            border-bottom: transparent;
            padding: 0 0 0 12px;

            .ant-card-head-wrapper {
                width: 100%;
                justify-content: space-between;

                .ant-card-head-title {
                    padding: 2px 2px 2px 8px;
                }

                .ant-card-extra {
                    padding: 0;
                }
            }

            &:before {
                content: "";
                width: 5px;
                height: 20px;
                margin-bottom: -2px;
                display: inline-block;
                position: absolute;
                left: 7px;
                background: $wordColor_2;
            }
        }

        .ant-card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: scroll;
            -ms-overflow-style: none;
            overflow: -moz-scrollbars-none;

            &::-webkit-scrollbar {
                width: 0 !important;
            }
        }
    }
}